package com.tmeone.erpone.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tmeone.erpone.entity.TLogistics;
import com.tmeone.erpone.mapper.TLogisticsMapper;
import com.tmeone.erpone.service.TLogisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TLongisticsServiceImpl extends ServiceImpl<TLogisticsMapper, TLogistics> implements TLogisticsService {
    @Autowired
    private TLogisticsMapper logisticsMapper;
    @Override
    public IPage<TLogistics> getPageTLogistics(IPage<TLogistics> page) {
        return logisticsMapper.pageTLogistics(page);
    }

    @Override
    public IPage<TLogistics> pageUserName(IPage<TLogistics> page, String username) {
        return logisticsMapper.pageUserName(page,username);
    }
}
